﻿using RpcModularModel.Resource.Model;
using RpcSync.Model;
using RpcSync.Model.DB;

namespace RpcSync.DAL
{
    public interface IResourceListDAL
    {
        void Adds(ResourceListModel[] adds);
        Guid[] ClearResource();
        InvalidResource[] GetInvalidResource();
        ResourceData[] Gets(Guid modularId);
        void SetInvalid(InvalidResource[] invalids);
        void Sync(ResourceListModel[] adds, ResourceListModel[] sets);
    }
}